﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:views="clr-namespace:Rio.Manager.Application.Views"
                    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                    xmlns:dataControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit"
                    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">


    <!-- ***********Panel Left *********** -->
    <!-- ********************************* -->
    <Style x:Key="MainBackgroundStyle"
           TargetType="Border">
        <Setter Property="BorderBrush"
                Value="#FF2A71CB" />
        <Setter Property="BorderThickness"
                Value="2" />
        <Setter Property="CornerRadius"
                Value="8" />
    </Style>

    <Style x:Key="headerPanelLefBodertStyle"
           TargetType="Border">
        <Setter Property="BorderBrush"
                Value="#FF2A71CB" />
        <Setter Property="BorderThickness"
                Value="2" />
        <Setter Property="CornerRadius"
                Value="8" />
    </Style>

    <!-- ***********Index control*********** -->
    <Style x:Key="LabelIndexStyle"
           TargetType="TextBlock">
        <Setter Property="Margin"
                Value="5,5,5,0" />
        <Setter Property="HorizontalAlignment"
                Value="Left" />
        <Setter Property="TextWrapping"
                Value="Wrap" />
    </Style>

    <Style x:Key="ButtonValidateHelpStyle"
           TargetType="Button">
        <Setter Property="Width"
                Value="25" />
        <Setter Property="Margin"
                Value="0,0,5,0" />
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1"
                                     StartPoint="0.5,0">
                    <GradientStop Color="#FF73BDEB" />
                    <GradientStop Color="#FF4B6E83"
                                  Offset="1" />
                    <GradientStop Color="#FF2D8FBA"
                                  Offset="0.513" />
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="BorderThickness"
                Value="1.5" />
    </Style>


    <!--
        *** Views DataTemplates ***
        Loaded in a new tab
    -->

    <DataTemplate x:Key="AdministrationTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:AdministrationTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="DashboardTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:DashboardTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="FolderTypeAdministrationTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:FolderTypeAdministrationTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="VersioningModelTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:VersioningModelTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="ListUndoCheckOutTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:ListUndoCheckOutTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="GeneralParametersTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:GeneralParametersTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="NewWorkflowTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:NewWorkflowTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="ManageWorkflowTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:ManageWorkflowTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="ManageWorkflowModelTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto"
                      HorizontalScrollBarVisibility="Auto">
            <views:ManageWorkflowModelTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="ConnectorTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:ConnectorTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="ConnectorAddTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:ConnectorAddTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="BarCodeTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:BarCodeTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="BarCodeAddTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:BarCodeAddTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="GroupAssociationTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:GroupAssociationTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="GroupSynchronizationTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:GroupSynchronizationTabView />
        </ScrollViewer>
    </DataTemplate>

    <DataTemplate x:Key="CustomerTabView">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <views:CustomerTabView />
        </ScrollViewer>
    </DataTemplate>

</ResourceDictionary>
